<%--
  Created by IntelliJ IDEA.
  User: User
  Date: 2021/6/26
  Time: 13:55
  To change this template use File | Settings | File Templates.
--%>
<meta http-equiv="refresh" content ="3;url=../html/login.html">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆</title>
</head>
<style>
    #boss{
        width: 300px;
        height: 150px;
        border-radius: 20px;
        border: 1px solid lightgray;
        margin: 50px auto;
    }
    #title{
        color: red;
        font-size: 14px;
        text-align: center;
        margin: 20px;
        font-weight: bolder;
    }
    #time{
        color: red;
        font-size: 14px;
        text-align: center;
        margin: 20px;
    }
</style>
<body onload="shownum()">
    <div id="boss">
        <div id="title">登陆失败！账号或密码错误</div>
        <div id="time"></div>
    </div>
</body>
<script type="text/javascript">
        var i = 4;
        function shownum(){
            i=i-1;
            document.getElementById("time").innerHTML=i+"秒后自动跳转主界面";
            setTimeout('shownum()',1000);
        }
</script>
</script>
</html>
